
package jumpingnotes.service.remoting;

import jumpingnotes.model.*;
import jumpingnotes.model.entity.*;

public interface MemberService{

	public Result memberRegister(String email, String password, String nickname);
	
	public Result isEmailUnique(String email);
	
	public Result isPasswordCorrect(String memberID, String password);
	
	public Result memberLogin(String email, String password);
	
	public Result memberLogout(String email, String password);
	
	public Result memberRegisterInvite(String email, String memberID);
	
	public Result memberRegisterActivate(String email, String password);

	public Result memberRegisterActivate(String memberConfirmId);
	
	public Result memberRegisterInviteActivate(String email, String password);
	
	public Result memberPasswordUpdate(String memberID, String password);
	
	public Result memberPasswordRetrieve(String email);
	
	public Result memberPortraitUpload(String memberID, String image,
			String imageBig, String imageSmall, String imageSquare);
	
	public Result memberInfoUpdate(String memberID, String nickname, String aboutMe, String birthday,
			Character gender, String locationCity, String locationProvince, String locationCountry, String homepage);
	
	public Result messageSend(String memberIDFrom, String memberIDTo, String title, String body);
	
	public Result messageDelete(String memberID, String [] messageIDArray);
	
	public Result memberActivityCreate(String memberID, String activityType, ActivityTemplateParam[] activityParams, ActivityMediaItem[]  mediaItems, String url,String priority);

}
